<!DOCTYPE html PUBLIC "-/W3C/DTD XHTML 1.0 Transitional/EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>大学物理实验报告</title>
    <style type="text/css" mce_bogus="1">
        body {
            display: flex;
            justify-content: center;
        }
        ol.choice {
            list-style-type: upper-alpha;
        }
        /*div.report {
            border: solid 1px;
            width: 205mm;
            padding: 5mm;
        }*/
        span.judge {
            color: red;
        }
    </style>
</head>
<body>
<#--<img src="http://cdn.enbug.cn/Bee.jpg" alt="bee">-->
<div class="report">
<#list units as unit>
    <h1>${unit.name}</h1>
    <#list unit.getParts() as part>
        <h2>${part.type}</h2>
        <#if part.type=="实验预习">
            <#list part.getQuestions() as question>
                <#if question.type=="Fill">
                    <#include "./question/fill.ftl">
                <#else>
                    <#include "./question/choice.ftl">
                </#if>
            </#list>
        <#else>
            <pre>${part.content}</pre>
        </#if>
    </#list>
</#list>
</div>
</body>
</html>